@charset "utf-8" ;
@function r($px)
{
    @return $px/40*1rem    
}
.news_web
{
    width: 100%;
    overflow: hidden;
    .middle
    {
        width: 80%;
        margin: auto;
        .box
        {
            h1
            {
                margin-top: 10%;
                color: #ff6b08;
            }
            
        }
        .box2
        {
            margin-top:r(40);
            .pic
            {
                width: r(370);
                height: r(186);
                margin-right:4%;
                border-radius: 5px;
                border: 1px solid #eeeeee;
                overflow: hidden;
                position: relative;
                img
                {
                    width: 100%;
                }
                p
                {
                    white-space:nowrap;
                    overflow: hidden;
                    text-overflow:ellipsis; 
                }
                .text
                {
                    position: absolute;
                    bottom:0%;
                    height: r(40); 
                    width: r(370);
                    background: rgba(000,000,000,0.4);
                    border-radius: 5px;
                    text-align: center;
                    line-height: 34px;
                    color: white;
                    transition: all 0.8s;
                    transform: translateY(100%);
                    
                }
            }
            .pic:hover .text
            {
                transform: translateY(0%);
            }
        }
    }
    @media only screen and (max-width:768px)
    {
        .middle
        {
            width: 95%;
            .box
            {
                margin-bottom: 5%;
                h1
                {
                    margin-top: 21%;
                    color: #ff6b08;
                }
                
            }
            .box2
            {
                margin-top:10%;
                width: 32%;
                margin: auto;
                .pic
                {
                    width: r(300);
                    height: r(300);
                    border-radius: 5px;
                    border: 1px solid #eeeeee;
                    overflow: hidden;
                    position: relative;
                    img
                    {
                        width: 100%;
                        height: 100%;
                        
                    }
                    p
                    {
                        white-space:nowrap;
                        overflow: hidden;
                        text-overflow:ellipsis; 
                    }
                    .text
                    {
                        position: absolute;
                        bottom:0%;
                        height: r(40); 
                        width: r(370);
                        background: rgba(000,000,000,0.4);
                        border-radius: 5px;
                        text-align: center;
                        line-height: 34px;
                        color: white;
                        transition: all 0.8s;
                        transform: translateY(100%);
                        
                    }
                }
                .pic:hover .text
                {
                    transform: translateY(0%);
                }
            }
        }
    }
    .miidle2
    {
        width: 80%;
        margin: auto;
        margin-top: r(100);
        position: relative;
        .ipt
        {
            position: absolute;
            top: 84%;
            right: 0;
            width: r(100);
            height: r(32);
            border-radius: 10px;
            border: 1px solid #ff6900;
            text-align: center;
            color:#ff6900;
            transition: all 0.8s;
            background: white;
        }
        .ipt:hover .ip
        {
            background: black;
        }
        .box1
        {
            
        }
        h4
        {
            margin-bottom: 2%;
        }
        p:nth-last-child
        {
            line-height:1.5;
        }
        p:nth-child(1)
        {
            margin-bottom: 2%;
        }
    }
    @media only screen and (max-width:768px)
    {
        .miidle2
        {
            width: 95%;
            margin: auto;
            margin-top: r(100);
            position: relative;
            .ipt
            {
                position: absolute;
                top: 75%;
                right: 0;
                width: r(100);
                height: r(32);
                border-radius: 10px;
                border: 1px solid #ff6900;
                text-align: center;
                color:#ff6900;
                transition: all 0.8s;
                background: white;
            }
            .ipt:hover .ip
            {
                background: black;
            }
            .box1
            {
                
                img
                {
                    width:r(270);
                    height: r(200);
                }
            }
            h4
            {
                margin-bottom: 2%;
                padding-left: 5%;
            }
            p:nth-last-child
            {
                line-height:1.5;
                padding-left: 5%;
            }
            p:nth-child(1)
            {
                margin-bottom: 2%;
                padding-left: 5%;
            }
        }
    }
    .last
    {
        margin: auto;
        margin-top: 5%;
        text-align: center;
        .Number
        {
            .pagination
            {
                .one
                {
                    background:#e34637;
                    color: white;
                }
            }
        }
    }
    .foot
    {
        width: 100%;
        background: #3b3b3b;
        padding-top: 3%;
        padding-bottom: 3%;
        .inside_foot
        {
            
            width: 80%;
            margin: auto;
            background: #3b3b3b;
            .col-md-6,.col-xs-4
            {
                color: #a1a3ab;
                .col-md-2,.col-xs-3
                {
                    padding: 0;
                    
                }
            }
            
              
        } 
    }
    @media only screen and (max-width:768px)
    {
        .foot
        {
            width: 100%;
            background: #3b3b3b;
            padding-top: 3%;
            padding-bottom: 3%;
            .inside_foot
            {
                width: 95%;
                margin: auto;
                background: #3b3b3b;
                font-size:xx-small ;
                padding: 0;
                .col-md-6,.col-xs-4
                {
                    color: #a1a3ab;
                    padding-top: 10px;
                    padding-bottom: 5px;
                    .col-md-2,.col-xs-3
                    {
                        padding: 0;
                        
                    }    
                }
                .col-md-6
                {
                        
                }
                
                  
            } 
        }    
    }
}
